home *** CD-ROM | disk | FTP | other *** search
- objcreate {s_course} {:course} \
- {-light0_on} {1} \
- {-light0_ambient} {0.579999983311 0.600000023842 0.680000007153 1.0} \
- {-light0_diffuse} {0.129999995232 0.109999999404 0.0799999982119 1.0} \
- {-light0_position} {0.20000000298 1.0 -1.0 0.0}
-
- set fog_dist 50
- set far_clip [tux_get_param forward_clip_distance]
- if { $fog_dist > $far_clip } {
- set fog_dist $far_clip
- }
-
- tux_fog -on -mode linear -start -10 -end $fog_dist -colour { 0.3 0.3 0.31 1.0 }
-
- tux_particle_colour { 0.85 0.85 0.85 1.0 }
-
- tux_load_texture envmap ../forest/alpineovercast_right.png 0
-
- tux_load_texture forest-front ../forest/alpineovercast_front.png 0
- tux_load_texture forest-right ../forest/alpineovercast_right.png 0
- tux_load_texture forest-left ../forest/alpineovercast_left.png 0
- tux_load_texture forest-back ../forest/alpineovercast_back.png 0
- tux_load_texture forest-top ../forest/alpineovercast_top.png 0
- tux_load_texture forest-bottom ../forest/alpineovercast_bottom.png 0
-
- tux_bind_texture sky_front forest-front
- tux_bind_texture sky_right forest-right
- tux_bind_texture sky_left forest-left
- tux_bind_texture sky_back forest-back
- tux_bind_texture sky_top forest-top
- tux_bind_texture sky_bottom forest-bottom
-
- objcreate {s_texture_cube} {:textures:cubemap} \
- {-filename} {../forest/alpineovercast_}
-